previous_hunts=0
previous_total=0

def hunt_choices(round_number, current_food, current_reputation, m, player_reputations):
	#hunt_decisions = ['h' for x in player_reputations]
	#return hunt_decisions
	global previous_hunts
	global previous_total
	num_people=len(player_reputations)
	hunt_decisions=[]
	if round_number < 3:
		hunt_decisions = ['h' for x in player_reputations]
	elif current_food < num_people*3*10:
		hunt_decisions = ['s' for x in player_reputations]
	else:
		num_hunts=(previous_hunts*num_people*0.6)/previous_total+1
		print previous_hunts
		print previous_total
		num_slack=num_people-num_hunts
		a=[]
		for(i,elem)in enumerate(player_reputations):
			b=i,elem
			a.append(b)
			hunt_decisions.append('s')
		a.sort(key=lambda elem:elem[1])
		ct=0
		for element in a:
			if ct < num_hunts:
				hunt_decisions[element[0]]='h'
			ct=ct+1
	previous_total=num_people*(num_people+1)
	return hunt_decisions

def hunt_outcomes(food_earnings):
	pass # do nothing

def round_end(award, m, number_hunters):
	global previous_hunts
	previous_hunts=number_hunters